<div class="form-group row">
    <label class="form-label col-3 col-form-label">分组：</label>
    <div class="col">
        <select id="group_id" name="group_id" class="form-select">
            <option value="0">全部</option>
            {{- range .GroupList}}
            <option value="{{.ID}}" {{if eq $.GroupID .ID}}selected{{end}}>{{.Name}}</option>
            {{- end}}
        </select>
    </div>
</div>